﻿
@{
    ViewBag.Title = "View";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using MKAdminCore.DTO.Web.Common
@using MKAdminCore.ToolKit.Config

@section Styles {
    <link href="@PageCssFilesConfig.BasicTableIndex" rel="stylesheet" />
}

<div id="vBasicTableInfoApp">
    <div class="page-content-wrap wx_p20">
        <div class="zf-wx-index-main">
            <div class="layui-input-block zf-margin-left">
                <input type="text" name="title"
                       v-model="employeeName" placeholder="请输入姓名"
                       class="layui-input zf-fixed-length zf_h25 w_200">
                <a class="layui-btn layui-btn-normal btn_color_confirm zf_h25 perssion-node-display permission-right-10000000"
                   id="btn_BasicTable_Search" data-type="reload">搜索</a>

                <a id="btn_BasicTable_Add" class="layui-btn layui-btn-normal layui-btn-sm btn_color_confirm perssion-node-display permission-right-10000010"><i class="layui-icon"></i>增加</a>
            </div>
        </div>
        <table id="grid_BasicTable" lay-filter="ft_BasicTable"></table>

    </div>

    <div class="perssion-node-display" type="text/html" id="barOperation">
        <a class="layui-btn layui-btn-xs perssion-node-display permission-right-10000020" lay-event="edit">编辑</a>
        <a class="layui-btn layui-btn-danger layui-btn-xs perssion-node-display permission-right-10000030" lay-event="del">删除</a>
    </div>
    @Html.Partial(PageViewFilesConfig.BasicTableAdd)
</div>

<div class="table-templet">
    <script type="text/html" id="employeeSexTmp">
        {{#  if(d.employeeSex === 1){ }}
        男
        {{#  } else { }}
        女
        {{#  } }}
    </script>
</div>

@section Scripts {
    <script type="text/javascript" src="@PageJsFilesConfig.BasicTableIndex"></script>
}

